package com.laxcen.smoke.dto.req;

import io.swagger.annotations.ApiModelProperty;

public class UpdateRoleReq {

    @ApiModelProperty(value = "角色id", required = true,example = "123456")
    private Long id;
    @ApiModelProperty(value = "角色名", required = true,example = "role:admin")
    private String name;
    @ApiModelProperty(value = "角色描述", required = true,example = "管理员")
    private String description;
    @ApiModelProperty(value = "是否可用", required = true,example = "1可用 2不可用")
    private Integer available;
    @ApiModelProperty(value = "用户名", required = true,example = "administrator")
    private String username;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getAvailable() {
        return available;
    }

    public void setAvailable(Integer available) {
        this.available = available;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
